package cn.patient.pp.module.patients.controller.admin.vo.importExecl;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author liqingsong
 * @version 1.0
 * Create by 2025/4/28
 */
@Schema(description = "管理后台 - 导入execl的操作日志 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OperationsLogVO {
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22955")
    @ExcelProperty("id")
    private Integer id;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("姓名")
    private String patientName;

    @Schema(description = "身份证", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("身份证")
    private String idNumber;

    @Schema(description = "编号")
    @ExcelProperty("编号")
    private String patientCode;

    @Schema(description = "操作时间")
    @ExcelProperty("操作时间")
    private LocalDateTime operationTime;

    @Schema(description = "行为")
    @ExcelProperty("行为")
    private String action;

    @Schema(description = "详细数据")
    @ExcelProperty("详细数据")
    private String detailsData;
}

